package com.sangmo.fts.teacher.interfaces;

import com.sangmo.boot.framework.plugin.dataview.def.meta.DataField;
import com.sangmo.boot.framework.plugin.dataview.def.meta.DataView;
import com.sangmo.fts.common.IConstants;
import com.sangmo.fts.teacher.model.Examination;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@DataView(Examination.class)
public class ExaminationCreation implements Serializable {

    private String name;

    private String businessType;

    private String mode;

    private Date startTime;

    private Date endTime;

    @DataField(value = IConstants.DATA_TYPE.COLLECTION, required = true)
    private List<Long> clazzIds;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public List<Long> getClazzIds() {
        return clazzIds;
    }

    public void setClazzIds(List<Long> clazzIds) {
        this.clazzIds = clazzIds;
    }
}
